/*
* 评论 api
*
*/

import { postRequest, getRequest } from '@/lib/axios';

export const commentApi = {
    /*
    * 创建评论
    *
    */
    create: (params) => {
        return postRequest('/api/public/web/comments/create', params);
    },
    /*
    * 评论列表
    *
    */
    list: (params) => {
        return postRequest('/api/public/web/comments/list', params);
    },
};